export const columns = [
  { title: '序号', dataIndex: 'index', key: 'index', width: 50, fixed: 'left', align: 'center', customRender: ({ index }) => index + 1 },
  { title: '状态', dataIndex: 'status', key: 'status', width: 100, bodySlot: 'status', fixed: 'left', align: 'center' },
  { title: '榜单日期', dataIndex: 'listDate', key: 'listDate', width: 100 },
  { title: '填表日期', dataIndex: 'fillDate', key: 'fillDate', width: 100 },
  {
    title: '制造单元(供应商简称)',
    dataIndex: 'supplierName',
    ellipsis: { showTitle: false },
    key: 'supplierName',
    width: 180,
  },
  { title: '市场简称', dataIndex: 'marketName', key: 'marketName', width: 80 },
  { title: '产品名称', dataIndex: 'productName', key: 'productName', width: 120 },
  { title: '磅单号', dataIndex: 'weighingNumber', key: 'weighingNumber', width: 100 },
  { title: '规格', dataIndex: 'specification', key: 'specification', width: 100 },
  { title: '重量', dataIndex: 'weight', key: 'weight', width: 100 },
  { title: '采购单价', dataIndex: 'purchasePrice', key: 'purchasePrice', width: 100 },
  { title: '质扣金额', dataIndex: 'deductAmount', key: 'deductAmount', width: 100 },
  { title: '采购金额', dataIndex: 'purchaseAmount', key: 'purchaseAmount', width: 100 },
  { title: '原料市场', dataIndex: 'materialMarket', key: 'materialMarket', width: 100 },
  { title: '过磅人员', dataIndex: 'weighingStaff', key: 'weighingStaff', width: 100 },
  { title: '统计员', dataIndex: 'statistician', key: 'statistician', width: 80 },
  { title: '全流程', dataIndex: 'fullProcess', key: 'fullProcess', width: 100 },
  { title: '库号', dataIndex: 'storageLocation', key: 'storageLocation', width: 80 },
  { title: '车号', dataIndex: 'vehicleNumber', key: 'vehicleNumber', width: 100 },
  { title: '备注', dataIndex: 'remarks', key: 'remarks', width: 120 },
  {
    title: '操作',
    dataIndex: 'action',
    key: 'action',
    width: 80,
    bodySlot: 'action',
    align: 'center',
    fixed: 'right',
  },
]

export const statusData = [
  {
    label: '全部',
    value: 0,
    color: '#165Dff',
    query: null,
  },
  {
    label: '待匹配',
    value: 0,
    color: '#FB4246',
    // color: '#FFA036',
    query: 0,
  },
  {
    label: '匹配中',
    value: 0,
    // color: '#0A87F8',
    color: '#FFA036',
    query: 1,
  },
  {
    label: '已匹配',
    value: 0,
    color: '#03c683',
    // color: '#9F6EEC',
    query: 2,
  },
  {
    label: '已完成',
    value: 0,
    // color: '#03c683',
    color: '#777777',
    query: 3,
  },
]
